home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Tool Chest / Interfaces & Libraries / Interfaces / AIncludes / EDiskEqu.a < prev    next >
Encoding:
Text File  |  1993-12-02  |  1.8 KB  |  42 lines  |  [TEXT/MPS ]

  1. ;    File:        EDiskEqu.a
  2. ;
  3. ;    Copyright:    © 1983-1993 by Apple Computer, Inc.
  4. ;                All rights reserved.
  5. ;
  6. ;    Version:    System 7.1 for ETO #11
  7. ;    Created:    Tuesday, March 30, 1993 18:00
  8. ;
  9. ;___________________________________________________________________________
  10.  
  11.     IF &TYPE('__INCLUDINGEDISKEQU__') = 'UNDEFINED' THEN
  12. __INCLUDINGEDISKEQU__    SET    1
  13.  
  14. ; EDisk header block
  15.  
  16. EDiskHeader       record      0,increment               ; layout of the slim signature block
  17. HdrScratch        ds.b        128                       ; scratch space for r/w testing and vendor info
  18. HdrBlockSize      ds.w        1                         ; size of header block (512 bytes for version 1)
  19. HdrVersion        ds.w        1                         ; header version number (this is version 1)
  20. HdrSignature      ds.b        12                        ; 'EDisk Gary D'
  21. HdrDeviceSize     ds.l        1                         ; size of device, in bytes
  22. HdrFormatTime     ds.l        1                         ; time when last formatted (pseudo unique ID)
  23. HdrFormatTicks    ds.l        1                         ; ticks when last formatted (pseudo unique ID)
  24. HdrCheckSumOff    ds.l        1                         ; offset to CheckSum table if present
  25. HdrDataStartOff   ds.l        1                         ; offset to first byte of data storage
  26. HdrDataEndOff     ds.l        1                         ; offset to last byte+1 of data storage
  27. HdrMediaIconOff   ds.l        1                         ; offset to media Icon and Mask if present
  28. HdrDriveIconOff   ds.l        1                         ; offset to drive Icon and Mask if present
  29. HdrWhereStrOff    ds.l        1                         ; offset to GetInfo Where: string if present
  30. HdrDriveInfo      ds.l        1                         ; longword for Return Drive Info call if present
  31.                   ds.b        512-*                     ; rest of block is reserved
  32. EDiskHeaderSize   EQU         *                         ; size of EDisk header block
  33.                   endr
  34.  
  35.  
  36. ;    Internal ROM disks are aligned on 64KB boundarys starting in the system ROM
  37. ;    and running up to the beginning of I/O space
  38.  
  39. RomDiskAlign      EQU         $00010000                 ; aligned on 64K byte boundarys
  40.  
  41.  
  42.     ENDIF    ; ...already included